Skip to content

Conversation

AriSweedler
Copy link

I have testcases that need JSON as input. Instead of making a file for each one, I inline the JSON as a raw string. It takes up too much screen real estate.
I do this on my machine, I think other people might appreciate it, too.

@AriSweedler
Copy link
Author

I would like to bump this

@AriSweedler
Copy link
Author

Hello?

@mattn
Copy link
Member

mattn commented May 23, 2022

Sorry delay. Could you please provide error case?

@AriSweedler
Copy link
Author

It is not an error case. The syntax region around the raw string literal has been written successfully. This PR is a feature request. I have this on my machine, and I think that it is a much saner default than currently exists.

I want a raw string region like this to add a layer of folding

auto my_string = R"delim(
Hello
World
)delim";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants